#include<func.h>
int main()
{
    char buf[]={"10 5"};
    FILE* fp;
    fp=popen("./sub","w");
    ERROR_CHECK(fp,-1,"popen");
    fwrite(buf,sizeof(char),strlen(buf),fp);
    pclose(fp);
    return 0;

}